package 数据结构基础;

import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public class Main {
    public static void main(String[] args) {
        ArrayList arrayList = new ArrayList();
        for (int i = 1;i < 15;i++){
            arrayList.add(i,i-1);
        }
        arrayList.remove(12);
        for (int i = 0;i< 14;i++){
            System.out.println(arrayList.get(i));
        }
        System.out.println(arrayList.size());
        Set<String> set = new HashSet<>();

    }
}
